﻿using DataModels.Enums.Community;
using SqlSugar;

namespace DataModels.Entities.Community
{
    /// <summary>
    /// 联系物业
    /// </summary>
    [SugarTable("contactproperty")]
    public class ContactProperty
    {   
        /// <summary>
        /// Desc:主键唯一
        /// Default:
        /// Nullable:False
        /// </summary>           
        [SugarColumn(IsPrimaryKey = true)]
        public string UUID { get; set; }

        /// <summary>
        /// Desc:项目ID
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string ProjectUUID { get; set; }

        /// <summary>
        /// Desc:楼栋ID
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string BuildingUUID { get; set; }

        /// <summary>
        /// Desc:单元号ID
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string UnitUUID { get; set; }

        /// <summary>
        /// Desc:物业客户电话
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string ServicePhone { get; set; }

        /// <summary>
        /// Desc:监控室电话
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string MonitoringRoomPhone { get; set; }

        /// <summary>
        /// Desc:所属管家
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string CustomerUUID { get; set; }

        /// <summary>
        /// Desc:维信客服二维码
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string WechatQRCode { get; set; }
        /// <summary>
        /// 联系电话1
        /// </summary>
        public string Tl1 { get; set; }
        /// <summary>
        /// 联系电话2
        /// </summary>
        public string Tl2 { get; set; }
        /// <summary>
        /// Desc:状态
        /// Default:
        /// Nullable:False
        /// </summary>           
        public byte Status { get; set; }

        /// <summary>
        /// Desc:创建人ID
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string CreateUserUUID { get; set; }

        /// <summary>
        /// Desc:创建时间
        /// Default:CURRENT_TIMESTAMP
        /// Nullable:True
        /// </summary>           
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// Desc:类型： 联系方式 / 二维码
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int Type { get; set; }
        /// <summary>
        /// 花名
        /// </summary>
        public string StageName { get; set; }
    }
}
